﻿
<%@ Page Title="" Language="C#" MasterPageFile="~/InternalSite.Master" AutoEventWireup="true" CodeBehind="Profiles.aspx.cs" Inherits="DATN.Account.Profiles" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent1" runat="server">
    <head id="Head1" runat="server" />
    <p>
        <asp:Label ID="Label_Profile" runat="server" Text="Trang cá nhân c&#7911;a : " 
            Visible="False"></asp:Label>
    </p>

    <table style="width: 100%">
        <tr>
            <td style="width: 233px; text-align: right">
                Mail&nbsp;
            </td>
            <td style="width: 233px">
                <asp:TextBox ID="Txt_Mail" runat="server" Width="180px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="Txt_Mail" ErrorMessage="B&#7841;n ch&#432;a nh&#7853;p Email"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="Txt_Mail" 
                    ErrorMessage="&#272;&#7883;a ch&#7881; Email ch&#432;a h&#7907;p l&#7879; !" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 233px; text-align: right">
                <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                </asp:ToolkitScriptManager>
                Tên c&#7911;a b&#7841;n&nbsp;
            </td>
            <td style="width: 233px">
                <asp:TextBox ID="Txt_Firstname" runat="server" Width="180px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="Txt_Firstname" ErrorMessage="B&#7841;n ch&#432;a nh&#7853;p tên"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 233px; text-align: right">
                H&#7885; &#273;&#7879;m&nbsp;
            </td>
            <td style="width: 233px">
                <asp:TextBox ID="Txt_Lastname" runat="server" Width="180px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 233px; text-align: right">
                Ngày sinh&nbsp;
            </td>
            <td style="width: 233px">
                <asp:TextBox ID="Txt_Birthday" runat="server" Width="180px"></asp:TextBox>
            </td>
            <asp:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" TargetControlID="Txt_Birthday">
            </asp:CalendarExtender>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 233px; text-align: right">
                S&#7889; &#273;i&#7879;n tho&#7841;i&nbsp;
            </td>
            <td style="width: 233px">
                <asp:TextBox ID="Txt_Phone" runat="server" Width="180px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="Txt_Phone" ErrorMessage="B&#7841;n ch&#432;a nh&#7853;p s&#7889; &#273;i&#7879;n tho&#7841;i"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 233px; text-align: right">
                &#272;&#7883;a ch&#7881;&nbsp;
            </td>
            <td style="width: 233px">
                <asp:TextBox ID="Txt_Address" runat="server" Width="180px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 233px; text-align: right">
                Công ty&nbsp;
            </td>
            <td style="width: 233px">
                <asp:TextBox ID="Txt_Company" runat="server" Width="180px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 233px; text-align: right">
                &nbsp;</td>
            <td style="width: 233px">
                <asp:Button ID="Btn_Update" runat="server" onclick="Btn_Update_Click" 
                    Text="C&#7853;p nh&#7853;t" />
                <asp:Button ID="Btn_Back" runat="server" onclick="Btn_Back_Click" 
                    Text="Tr&#7903; l&#7841;i" CausesValidation="False" />
            </td>
            <td>
                <asp:Label ID="Label_success" runat="server" Text="B&#7841;n &#273;ã c&#7853;p nh&#7853;t thành công!" 
                    Visible="False"></asp:Label>
            </td>
        </tr>
    </table>
<p>
    &nbsp;</p>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent2" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent3" runat="server">
</asp:Content>
